<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>用户登陆</title>
</head>
<body>
<form action="${pageContext.request.contextPath }/login2" method="POST">
${msg}
用户名：<input type="text" name="username"><br/>
密码：<input type="text" name="password" ><br/>
<input type="submit" value="登陆"> 
</form>
</body>
</html>